<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>

    .container {
      position: relative;
      border: 1px solid red;
    }

    .inner {
      position: absolute;

      top: 0;
      left: 0;
      border: 1px solid black;
    }
  </style>
</head>
<body>
  <div style="width: 300px; height: 400px" class="container">
    <div class="inner">
      <div>
      是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是

      </div>
    </div>
  </div>
</body>
</html>